import React, { Component } from 'react'
import SearchInput from './SearchInput'
import List from './List'

export default class Search extends Component {
  render() {
    return (
      <div>
        <SearchInput updateSearchState={this.updateState}/>
        <List {...this.state} />
      </div>
    )
  }
}
